const configArr = [{
		color: "brown",
		label: "全部",
		value: undefined,
		count: 0
	},
	{
		color: "green",
		label: "待审批",
		value: "10",
		count: 0
	},
	{
		color: "yellow",
		label: "审批中",
		value: "20",
		count: 0
	},
	{
		color: "red",
		label: "已审批",
		value: "30",
		count: 0
	}
]
//基本展示数据
const basicInfoData = {
	
}
//表头数据
const tableHeaderData = [
	{
		prop:'supplierId',
		label:'供应商ID',
		width:'100',
		fixed:'left'
	},
	{
		prop:'showMaterial',
		label:'材质',
		width:''
	},
	{
		prop:'supplierPrice',
		label:'供应商报价',
		width:'100'
	},
	{
		prop:'exchangePrice',
		label:'上金所价格',
		width:'100'
	},
	{
		prop:'createName',
		label:'创建人',
		width:''
	},
	{
		prop:'createTime',
		label:'创建时间',
		width:'170'
	},
	{
		prop:'checkBy',
		label:'审批人',
		width:''
	},
	{
		prop:'checkTime',
		label:'审批时间',
		width:'170'
	},
	{
		prop:'showStatus',
		label:'状态',
		width:''
	},
]
	


//分页数据
const paginationObject = {
	currentPage: 1,
	pageSize: 1,
	pageTotal: 1,
	total:1,
	num1:1,
	num2:1
}

//表单组件数据
const filterOption = {
	items: [
      {
        label: '供应商ID',
        type: "input",
        key: "supplierId",
        method: "input",
        placeholder: '',
        value: undefined
      },
      {
        label: "材质",
        type: "dropdown",
        key: "material",
        data: [],
        placeholder: '请选择',
        value: undefined
      },
      {
        label: "报价时间",
        type: "datetimerange",
        key: "createDate",
        data: undefined,
        placeholder: '请选择',
        value: undefined
      }
    ],
   	btnGroup: [
	    {
	      label: "查询",
	      type: "search"
	    },
	    {
	      label: "清空",
	      type: "clear"
	    }
  	],
  	// close:true
}
let Model = {
	data() {
		return {
			Model: {
				dialogAlert:false,
				configArr,
				confirmStatus:'',   //确认按钮（审核或者作废）
				materialData:[],
				searchObject:{
				  condition:{
				
				  }
				},
				approvalData:[],    //审批数组
				cardStatus:'10',    //默认待审批
				tipsMsg:'',
				dialogTips:false,
				dialogTipsMsg:'',
				TableSelectDataStr:'',
				currentPage:1,
				cardSelected:'green',
				selectRow:[],
				TableSelectData:[],
				tableData: [],
				searchFormPick: {
				  region:'',
				  storeAffilia:'',
				  region:''
				},
				paginationObject,
				tableHeaderData,
				filterOption,
				
			}
		}
	}
}
export default Model;
